package com.itheima.dao;

import com.itheima.pojo.Member;
import com.itheima.pojo.OrderRole;
import org.apache.ibatis.annotations.Param;

/*
 *@AUTHOR:LIUCHAO;
 *@DATE: 2020/9/14 20:53
 */
public interface MemberDao {

    Integer getCountByTelOrIdCard(@Param("phoneNumber") String phoneNumber,@Param("idCard") String idCard);

    void add(Member member);

    Integer checkPhoneNumber(String telephone);

    Integer findMemberCountBeforeDate(String date);
}
